// 合作状态
export enum CooperateStatusEnum {
  ING = 1, //合作中
  SUSPEND = 2, //2暂停合作
  OBSOLETE = 3, //淘汰
  RESERVE = 4, //储备
}

export const CooperateStatusOptions = [
  { label: '合作中', value: CooperateStatusEnum.ING },
  { label: '暂停合作', value: CooperateStatusEnum.SUSPEND },
  { label: '已淘汰', value: CooperateStatusEnum.OBSOLETE },
  { label: '储备', value: CooperateStatusEnum.RESERVE },
]

//供应商评级
export const SUPPLIER_RATING_TEXT: { [k: number | string]: string } = {
  A: 'A',
  B: 'B',
  C: 'C',
  D: 'D',
  null: '-',
}
export const SUPPLIER_RATING_OPTIONS = [
  { label: 'A', value: 'A' },
  { label: 'B', value: 'B' },
  { label: 'C', value: 'C' },
  { label: 'D', value: 'D' },
]
